home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 80 / XENIATGM80.iso / Goodies / Blood 2 / Source / data.z / MessageBoxHandler.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-02  |  792 b   |  38 lines

  1. // MessageBoxHandler.cpp: implementation of the CMessageBoxHandler class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #include "LTGUIMgr.h"
  6. #include "BloodClientShell.h"
  7. #include "MessageBoxHandler.h"
  8.  
  9. //////////////////////////////////////////////////////////////////////
  10. // Construction/Destruction
  11. //////////////////////////////////////////////////////////////////////
  12.  
  13. CMessageBoxHandler::CMessageBoxHandler()
  14. {
  15.  
  16. }
  17.  
  18. CMessageBoxHandler::~CMessageBoxHandler()
  19. {
  20.  
  21. }
  22.  
  23. DDWORD CMessageBoxHandler::OnCommand(DDWORD dwCommand, DDWORD dwParam1, DDWORD dwParam2)
  24. {
  25.     switch (dwCommand)
  26.     {
  27.     case MESSAGE_BOX_ID_KILL:
  28.         {
  29.             if (g_pBloodClientShell)
  30.             {
  31.                 g_pBloodClientShell->KillMessageBox();
  32.             }
  33.             break;
  34.         }
  35.     }
  36.  
  37.     return 0;
  38. }